<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var num1 = prompt('请输入数字1',0);
			var num2 = prompt('请输入数字2',0);
//			alert(num1+num2);
			
			num1 = Number(num1);
			num2 = Number(num2);
			
			alert(num1 + num2);
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		</script>
	</body>
</html>
